<?php

$urls = array(
    'http://www.cxfzjj.com/show.php?id=6589&cid=1',
    'http://www.cxfzjj.com/show.php?id=6583&cid=1',
    'http://www.cxfzjj.com/show.php?id=6567&cid=1',
);
$api = 'http://data.zz.baidu.com/urls?site=www.cxfzjj.com&token=7MB1VXV5F9hqgcRt';
$ch = curl_init();
$options =  array(
CURLOPT_URL => $api,
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_POSTFIELDS => implode("\n", $urls),
CURLOPT_HTTPHEADER => array('Content-Type: text/plain'),
);
curl_setopt_array($ch, $options);
$result = curl_exec($ch);
echo $result;